package com.txc.books.mapper;

import com.txc.books.entity.Book;
import com.txc.books.entity.BookType;
import com.txc.books.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: XCTANG
 *
 */
@Repository
public interface BookTypeMapper {

    //查找全部
    List<BookType> findAll();

    //增加图书类型信息
    void insert(BookType bookType);

    //更新图书类型信息
    void update(BookType bookType);

    //删除图书类型信息
    void delete(Integer id);

    //分页查询类型
    List<BookType> selectPage();
}
